/**
 * Author: Jackin (qin.zhang@uni.lu)
 * Date: 2013
 * (c) 2013 University of Luxembourg - Interdisciplinary Centre for Security Reliability and Trust (SnT)
 * All rights reserved
 * GPLv3 to be found at: http://www.gnu.org/licenses/quick-guide-gplv3.html
 */

package lu.uni.geko.ext.ram;

/**
 * 
 * 
 * @author Jackin
 * 
 */
public final class RamChecker
{

	/**
	 * Utility class should not provide any constructor.
	 */
	private RamChecker()
	{

	}

	public static boolean checkAspect(ram.Aspect aspect)
	{
		/*
		 * According to RAM metamodel, any aspect MUST have exact one structural view. If the structural view is null, that
		 * means the expected dependent aspect is not found.
		 */
		if (aspect.getStructuralView() == null)
			return false;

		return true;
	}

}
